#ifndef SETTINGS_H
#define SETTINGS_H

#include "../ui_multimedia_toolbox.h"
#include <QDialogButtonBox>
#include <QLabel>
#include <QStyleFactory>
#include <QDialog>
#include <QComboBox>
#include <QMainWindow>
#include <QVBoxLayout>
#include <QFile>
#include <QStringList>
#include <QDir>
#include <QTextStream>
#include "MyWindow.h"

class MyWindow;

class Settings : public QDialog
{
	Q_OBJECT

	public:
		Settings(QStringList *sl, MyWindow * mywin, QMainWindow *parent = 0);
		~Settings();

	private slots:
		void accept();
		void closeSettings();
		void changeStyle(QString);
		void changeLanguage(int);

	private:
		const static long winWidth  = 300L;
		const static long winHeight = 150L;
		//const static QString defLanguage = "En";

		QLabel *styleLabel;
		QLabel *languageLabel;

		QComboBox * styleCombo;
		QComboBox * languageCombo;

		QDialogButtonBox *buttonBox;

		QString lang;
		QString sty;
		QStringList * settingsList;

		MyWindow *mw;

		void windowSize();

	public:
		static void defaultSettings();
};

#endif // SETTINGS_H
